import axios from '@/api/axios'

// 预约服务列表
export function listApi(params) {
  return axios.get('/manage/petSubscribe/list', { params })
}


// 审批预约列表
export function approveApi(params) {
  return axios.put('/manage/petSubscribe/approve', params)
}

// 生成预约服务订单
export function createOrderApi(params) {
    return axios.post('/manage/petSubscribe/createOrder', params)
}


// 获取服务预约详情
export function detailApi(params) {
    return axios.get('/manage/petSubscribe/detail/'+params)
}